home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6636 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: bbs.sas.ntu.ac.sg!collin
  2. From: collin@bbs.sas.ntu.ac.sg (Collin Ng)
  3. Newsgroups: comp.lang.c++
  4. Subject: Q: Extracting from STDOUT
  5. Date: 12 Feb 1996 08:50:34 GMT
  6. Organization: Nanyang Technological University
  7. Message-ID: <4fmv0q$26p@ntuix.ntu.ac.sg>
  8. NNTP-Posting-Host: bbs.sas.ntu.ac.sg
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Does anyone here have experience in extracting data from STDOUT
  12. into a buffer? I know there is a function in MSVC that allows me
  13. to redirect stdout to a file (which function was it?) but I would
  14. prefer to be able to grab it directly into memory. Anyone knows 
  15. how?
  16.  
  17. <Collin Ng>
  18. +--------------------------------------------------------_--------------+
  19. |  ##  ##   ##  ##    With luving greetings from        I I             |
  20. |  ##  ##       ##                                      I~I             |
  21. |  ######   ##  ##    CCc      NNn    Datel :      __   I~I  _  _   /~) |
  22. |  ##  ##   ##  ""    |  ollin | |g   243-1493     \ \  I_I/I-II-I/~/'  |
  23. |  ##  ##   ##  ##    CCc      N N                  \~~\'   `-'`-'~I    |
  24. |  E-mail :                           \_ ) ~\_ /~~  )    |
  25. |            sf7225714@ntuvax.ntu.ac.sg                \_    Y    )'    |
  26. |            collin@bbs.sas.ntu.ac.sg                let luv surrounds u|
  27. +---------------------------------------------------------|~   ~|-------+
  28. | Web Page :  http://gamma.ntu.ac.sg:8000/~sf7225714/www.html           |
  29. +-----------------------------------------------------------------------+
  30.